//
//  WBOAuthViewModel.h
//  sinaWeibo
//
//  Created by 李江波 on 2016/11/16.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WBUserInfoModel.h"

@interface WBOAuthViewModel : NSObject

/**
 是否登录
 */
@property(nonatomic ,assign) BOOL isLogin;

/**
 用户模型
 */
@property(nonatomic ,strong) WBUserInfoModel *userModel;

+(instancetype) shared;

-(void)getAccess_token:(NSString *)code completion:(void(^)(BOOL isSuccess))completion;

@end
